#{extends 'main.html' /}
#{stylesheet src:'/Categories.css' /}
#{stylesheet src:'/HomePage.css' /}
#{set title:'分类列表' /}
<table class="CategoriesList" style="border-width: 2px; font-size: 85%;"
	border="0" cellpadding="0" cellspacing="0" width="100%">
	<tbody>
	
	#{list items:allTypes, as:'types'}	
		#{if types_index%3 == 1}
			<tr valign="top">
		#{/if}
			<td width="33%">
				<ul class="CatListingSub">
					<li>
						#{a @Types.typeSaleList(types[0].id,0)}${types[0].name}#{/a}(${types[1]})
					</li>
				</ul>
			</td>
			
		#{if types_index%3 == 0||types_isLast}
			</tr>
		#{/if}	
		
	#{/list}
	</tbody>
</table>